﻿using UnityEngine;
using System.Collections;

public class cameraPitch : MonoBehaviour {

	public float rotationSpeed = 100;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		float pitch = Input.GetAxis("Mouse Y") * -rotationSpeed;
		pitch *= Time.deltaTime;
		transform.Rotate(pitch, 0, 0);
	}
}
